<?php if (!defined('THINK_PATH')) exit(); if($data): ?>友情链接：
<?php if(is_array($data)): foreach($data as $key=>$v): ?><a href="<?php echo ($v["url"]); ?>" target="_blank"><?php echo ($v["name"]); ?></a><?php endforeach; endif; endif; ?>